package com.typhoon.rpc.registry.db.entity;

import java.util.Date;

/**
 * api节点信息
 * 
 * @author typhoon
 *
 */
public class ApiNode {
	
	/**
	 * 自增主键
	 */
	private Long id;
	
	/**
	 * 接口名称
	 */
	private String interfaceName;
	
	/**
	 * 服务地址
	 */
	private String hostAddress;
	
	/**
	 * 创建时间
	 */
	private Date createTime;
	
	/**
	 * 更新时间
	 */
	private Date updateTime;
	

	public ApiNode() {
		super();
	}
	

	public ApiNode(Long id, String interfaceName, String hostAddress, Date createTime, Date updateTime) {
		super();
		this.id = id;
		this.interfaceName = interfaceName;
		this.hostAddress = hostAddress;
		this.createTime = createTime;
		this.updateTime = updateTime;
	}



	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getInterfaceName() {
		return interfaceName;
	}

	public void setInterfaceName(String interfaceName) {
		this.interfaceName = interfaceName;
	}


	public String getHostAddress() {
		return hostAddress;
	}


	public void setHostAddress(String hostAddress) {
		this.hostAddress = hostAddress;
	}


	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	

}
